package com.fz.us.oa.core.service.com.impl;

import com.fz.us.admin.company.dao.BaseFlowDao;
import com.fz.us.admin.company.service.impl.BaseFlowServiceImpl;
import com.fz.us.oa.core.dao.com.OrderTrackDao;
import com.fz.us.oa.core.entity.com.OrderEntity;
import com.fz.us.oa.core.entity.com.OrderTrack;
import com.fz.us.oa.core.service.com.OrderTrackService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by ZhuChunXiao on 2017/7/20.
 */
@Service
public class OrderTrackServiceImpl extends BaseFlowServiceImpl<OrderTrack,String> implements OrderTrackService {
    @Resource
    OrderTrackDao orderTrackDao;

    @Override
    public BaseFlowDao<OrderTrack, String> getBaseFlowDao() {
        return orderTrackDao;
    }

    @Override
    public boolean checkRed(OrderEntity orderEntity) {
        return orderTrackDao.checkRed(orderEntity);
    }
}
